/**
 * The available types:
 *
 *  bool        Boolean, one byte
 *  i8 (byte)   Signed 8-bit integer
 *  i16         Signed 16-bit integer
 *  i32         Signed 32-bit integer
 *  i64         Signed 64-bit integer
 *  double      64-bit floating point value
 *  string      String
 *  binary      Blob (byte array)
 *  map<t1,t2>  Map from one type to another
 *  list<t1>    Ordered list of one type
 *  set<t1>     Set of unique elements of one type
 *
 */
 
namespace java com.liezh.service
 
struct User {
    1:i32 id;
    2:string name;
    3:string password;
}

service SslThriftService {
	string login(1:User user);
	string queryUserInfo(1:string username);
}